Skip to main content

Quick start

Build a small collection, add a case with checks, publish it and run it. About 15 minutes. You need an account with permission to build collections and run tests (ask your administrator for Build Collection, Publish Collection and Run Test; see Permissions), and a reachable test API (any HTTP endpoint, e.g. a health check).

  1. Open API Test. Open Build → API Test. The panel shows four sections: Collections, Environments, Secrets and External sources. See The API Test panel.

    API Test panel

    The API Test panel: collections list with search, filter and + New API Test Collection.

  2. (Only if the API needs credentials) Add a secret. In Secrets click + Add secret, enter a name (letters, digits, underscore) and the value, then Save. You will reference it as {{secret.name}}. The value cannot be viewed again. See Secrets.

  3. Create an environment. In Environments click + New Environment. Keep protocol REST / SOAP, enter a Name (for example Staging) and the Base URL of your API (an address the AGIS server can reach, not localhost on your own computer), choose an Auth type (start with None), then Save. See Environments.

    Environment form

    Environment form: Name, Protocol, Base URL, Auth.

  4. Create a collection. Click + New API Test Collection, enter a Collection name, choose the Default environment · REST / SOAP, then Create collection. The collection starts as Draft v1. See Creating a collection.

    New collection form

    The New API Test Collection form.

  5. Add a case. In the Cases tab click Add Case. Enter a Case name, keep GET, set the URL path (for example /health, or any path your API serves) and click Create Case. The case editor opens with the tabs Request, Extract, Data, Assertions, Compare, Setup / Teardown, History, Settings and Run.

    Add Case dialog

    The Add Case dialog.

    Case editor

    The case editor, Request tab.

  6. Define what counts as a pass. Open the Assertions tab. A new case already has a response row with Source STATUS: set operator EQUALS and expected 200. Add more rules with Add response assertion, for example a body field that must have a value (BODY_JSONPATH $.status EQUALS ok, if your API returns that field). Click Save. See Assertions.

    Assertions tab

    The Assertions tab.

  7. Publish. Click Publish in the collection header. The draft is validated and becomes a numbered Published version (v1). If something is wrong, a list under "Fix or review this case before publishing" names the case and the reason. See The Cases tab.

  8. Run. Open the collection's Run tab (or click Run Collection), check the Version and Environment, then click Start run. To run one case instead, use that case's Run tab and Run this case (it needs a Published version that contains the case). See Running tests.

    Run Collection panel

    The Run Collection panel.

  9. Read the results. Open History and click the run. You see Passed / Failed / Blocked / Skipped counts, each case with its checks (Expected vs Actual) and evidence. Use Download report for an HTML or Excel report. See Results, history and reports.

    Run results

    Run results: outcome cards and per-case results.

Where to go next​